import { getCurrentUrl, strToBool } from "@/utils"


export const IMG_URL = ""
// 前端配置信息
export const BASE_URL = import.meta.env.VITE_BASE_URL as string ?? getCurrentUrl();
export const LOCAL_ICON = strToBool(import.meta.env.VITE_LOCAL_ICON as string);
export const AJAX_TIMEOUT = parseInt(import.meta.env.VITE_AJAX_TIMEOUT as string);
export const TITLE = import.meta.env.VITE_TITLE;
/** 是否在开发环境 */
export const IS_DEV = import.meta.env.DEV
/** 开启右上角倒计时 */
export const COUNT_DOWN = strToBool(import.meta.env.VITE_COUNT_DOWN as string);
/** 打开模拟插卡 */
export const MOCK_SWIPE = strToBool(import.meta.env.VITE_MOCK_SWIPE as string);

export const KEEP_VIDEO_TOP=true
